-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/own http server #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ver implementation and finished the custom http implementation. Added a JettyHTTPSocketServer as a backup option, but it doesn't support websockets.
x7airworker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
|
Is multipart form data already implemented? |
No, it's not yet implemented for the new server. Jetty is still usable in case you are worried about breaking changes. |
…it and there are reported issues with older versions
…t implementation for until the own implementation is fully stable.
|
I've changed it back to using jetty as the default until the own implementation is stable enough to be used for any production case. I've also upgraded to the current jetty version. The upgrade was blocked by the hacky websocket implementation before that has now been removed. |
|
this also closes #11 |
This implements an own http server from ground up and abstracts the http server logic from the framework logic so http server implementations are interchangeable. By default the new SimpleHTTPSocketServer will be used but currently there is also a JettyHTTPSocketServer that can be used optionally if something doesn't yet work with the simple implementation. This should removed or moved to a seperate repository so jetty can be removed from the dependencies. The websocket logic is also reimplemented with our own websocket handling instead of the hacky jetty implementation that was previously used. Unfortunately jetty doesn't fully conform to the Java EE standard so it doesn't allow upgrading the connection by yourself and therefore websockets are only working with the simple implementation. I tried several things to hijack the jetty connection but wasn't successful.